﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CatsAndMice.Models
{
    public abstract class Portal : AbstractModel
    {
        public Portal(int id, int startPos, int endPos)
            : base(id)
        {
            _startPos = startPos;
            _endPos = endPos;
        }

        #region StartPos
        protected int _startPos;
        public int StartPos
        {
            get
            {
                return _startPos;
            }
        }
        #endregion
        #region EndPos
        protected int _endPos;
        public int EndPos
        {
            get
            {
                return _endPos;
            }
        }
        #endregion
        // TODO better name, should hold count of cats/elephants do be drawn
        public int Length { get; set; }
    }
}
